<h1 style="text-align: center;">DANH MỤC WEBSITE</h1>
<div class="tools">
    <a title="Thêm mới" onclick="return hs.htmlExpand(this, {
        objectType: 'iframe', width: 900, 
        creditsPosition: 'bottom left', 
        headingEval: 'this.a.title',
        wrapperClassName: 'titlebar' } )" href="http://localhost/cms/admin/them-moi" style="text-decoration:none; color:#000;">
    <input type="button" onclick="add_new('com')" value=" Thêm mới " class="but_login" id="but_add_new"></a>
    <input type="button" onclick="updateStatusAll('show')" value=" Hiện tin " class="but_tool butx" disabled="disabled" id="but_show">
    <input type="button" onclick="updateStatusAll('hide')" value=" Ẩn tin " class="but_tool butx" disabled="disabled" id="but_hide">
    <input type="button" onclick="updateStatusAll('del')" value=" Xóa tạm " class="but_tool butx" disabled="disabled" id="but_del">
</div>
<table width="100%" cellspacing="0" cellpadding="0" border="1" class="tbl_cms">
  <tbody><tr class="tbl_header">
    <td title="Chọn hết" style="cursor:pointer;" class="cell_1"><input type="checkbox" value="all" name="all" onclick="checkAll()"></td>
    <td class="cell_5">Sửa</td>
    <td {display} class="cell_5">Xóa</td>
    <td class="cell_2">{com_title}</td>
    <td class="cell_4">Tình trạng</td>
  </tr>
</tbody></table>  
<div id="item2">
<div id="div2">
  <div id="item8">
      <table width="100%" cellspacing="0" cellpadding="0" border="1" class="tbl_cms">
      [OPEN list_com]
        [LOOP com]
          <tr class="tbl_content tr8 cell_groupitem2">
            <td class="cell_1"><input type="checkbox" value="{id}" name="delId"></td>
            <td class="cell_5"><a href="com/chinh-sua/{id}">Sửa</a></td>
            <td class="cell_2">
                <span style="display: inline-block; height: 14px; cursor: pointer;" class="ui-icon ui-icon-minus"></span>
                <a href="#">{com_value}</a>
            </td>
            <td class="cell_4 status_{id}">{status}</td>
          </tr>
        [/LOOP com]
        [LOOP com_all]
          <tr class="tbl_content tr8 cell_groupitem2">
            <td class="cell_1"><input type="checkbox" value="{id}" name="delId"></td>
            <td class="cell_5"><a href="com/chinh-sua/{id}">Sửa</a></td>
            <td class="cell_5"><a onclick="delItem({id}, '{com_value}')" href="#">Xóa</a></td>
            <td class="cell_2">
                <span style="display: inline-block; height: 14px; cursor: pointer;" class="ui-icon ui-icon-minus"></span>
                <a href="#">{com_value}</a>
            </td>
            <td class="cell_4 status_{id}">{status}</td>
          </tr>
        [/LOOP com_all]
        [LOOP buton_del]
            <input type="button" onclick="delAll('del')" value=" Xóa " class="but_tool butx" disabled="disabled" id="but_del">
        [/LOOP buton_del]
      [CLOSE list_com]
        </table>
    </div>
</div>
</div>
<div style="clear:both">&nbsp;</div>
